﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity.RSS_Feed;
using DataAccess;
using System.Xml;
using System.Diagnostics;

namespace BusinessLogic
{
    public class TranslateRSSLogic
    {

        public static People GetPeopleFromEmail(string email)
        {
            if(string.IsNullOrEmpty(email)) return null;    //参数合法性检查
            XmlDocument people = DouBanHelper.QueryUserByEmail(email);
            People user = DouBanHelper.GetPeopleFromXml(people);

            return user;
        }
    }
}

